- 
		Home
	
 
	- 
Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More
 
- 
1.5.9
 
- 
Code
 
- 
Classes
 
-  SnapUtil 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											152 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											34 | 
										
																	
							 
													
								
																			
											| Total lines | 
											944 | 
										
																			
											| Lines of code | 
											451 | 
										
																			
											| Logical lines of code | 
											287 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											382 | 
										
																			
											| Methods | 
											39 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 39
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| arrayGroupBy() | 
									A  | 
																	48 | 
													15 | 
													30 | 
							
					
				| convertToBytes() | 
									A  | 
																	49 | 
													12 | 
													32 | 
							
					
				| rand() | 
									A  | 
																	44 | 
													10 | 
													41 | 
							
					
				| isIniValChangeable() | 
									A  | 
																	55 | 
													8 | 
													19 | 
							
					
				| sanitizeStrict() | 
									A  | 
																	54 | 
													8 | 
													19 | 
							
					
				| filterInputRequestArray() | 
									S  | 
																	54 | 
													7 | 
													21 | 
							
					
				| phpIniGet() | 
									S  | 
																	54 | 
													7 | 
													20 | 
							
					
				| getInputFromType() | 
									S  | 
																	56 | 
													7 | 
													18 | 
							
					
				| binarySearch() | 
									S  | 
																	56 | 
													5 | 
													19 | 
							
					
				| generatePassword() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| arrayMapRecursive() | 
									S  | 
																	61 | 
													4 | 
													12 | 
							
					
				| inArrayExtended() | 
									S  | 
																	63 | 
													4 | 
													11 | 
							
					
				| filterInputDefaultSanitizeString() | 
									S  | 
																	59 | 
													3 | 
													15 | 
							
					
				| getValueByType() | 
									S  | 
																	62 | 
													4 | 
													10 | 
							
					
				| classExists() | 
									S  | 
																	63 | 
													4 | 
													10 | 
							
					
				| duplicatorSetTimeLimit() | 
									S  | 
																	65 | 
													4 | 
													9 | 
							
					
				| getCallingFunctionName() | 
									S  | 
																	57 | 
													3 | 
													14 | 
							
					
				| getArrayValue() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| filterInputRequest() | 
									S  | 
																	68 | 
													3 | 
													6 | 
							
					
				| sanitizeInt() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| sanitizeBool() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| obCleanAll() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| arrayKeyFirst() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| getWorkPercent() | 
									S  | 
																	65 | 
													2 | 
													8 | 
							
					
				| versionCompare() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| getVersion() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| isPHP7Plus() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| sanitizeStrictInput() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| sanitizeIntInput() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| sanitizeBoolInput() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| sanitizeInput() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| phpinfo() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| sanitize() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| sanitizeNSChars() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| sanitizeNSCharsNewline() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| sanitizeNSCharsNewlineTabs() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| sanitizeNSCharsNewlineTrim() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| getIntBetween() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| getArchitectureString() | 
									S  | 
																	78 | 
													1 | 
													3 |